home *** CD-ROM | disk | FTP | other *** search
- #!/usr/bin/awk -f
- # -*- awk -*-
- #
- # $Header: /usr/bfr/src/test/RCS/fts-f-unsplit,v 1.1 1995/01/18 17:39:14 abel Exp $
- #
- #********************************************
- #
- # unsplit FORTRAN lines
- #
- #********************************************
- #
- # Written by Harvey J. Stein, 1994
- # Copyright (C)1994 Harvey J. Stein
- #
- # Rewritten by Alexander L. Belikoff, 1994
- # Copyright (C)1994 Alexander L. Belikoff
- #
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- #********************************************
- #
- # $Log: fts-f-unsplit,v $
- # Revision 1.1 1995/01/18 17:39:14 abel
- # Initial revision
- #
- #
- #********************************************
-
-
- BEGIN { line = "" }
- $0 ~ /^ [^ \t]/ {
- line = (line substr($0, 7))
- }
- $0 !~ /^ [^ ]/ {
- if (line != "") print line
- line = $0
- }
-
- END {
- if (line != "") print line
- }
-
- # end of $Source: /usr/bfr/src/test/RCS/fts-f-unsplit,v $
-